//
//  TSLabelFlowLayout.swift
//  Picture
//
//  Created by 王磊 on 28/04/2017.
//  Copyright © 2017 ThreeStone. All rights reserved.
//

import UIKit

class TSLabelFlowLayout: UICollectionViewFlowLayout {
    
    override func prepareLayout() {
        
        guard let collectionView = collectionView else {
            
            return
        }
        
        headerReferenceSize = CGSizeMake(CGRectGetWidth(collectionView.bounds), Label_Section_Header_Height)
    }
}
